package queryTree;
/**
 * 
 * @author Van
 *
 */
public class Common {
	public static String sql1 = "SELECT supplies.ITEM,PRICE, menu,ingredient, mealtime FROM SUPPLIES,recipe, budget  " +
	"WHERE item = ingredient and item = 'item1'  ";
	public static String getOperator(int op) {
		if(op == SimpleBoolExpr.EQ) {
			return "=";
		} else if (op == SimpleBoolExpr.GE) {
			return ">=";
		} else if (op == SimpleBoolExpr.GT) {
			return ">";
		} else if (op == SimpleBoolExpr.LE) {
			return "<=";
		} else if (op == SimpleBoolExpr.LT) {
			return "<";
		} else if (op == SimpleBoolExpr.NE) {
			return "!";
		}
		return null;
	}
}
